EntityDAC

TEntityContext Members

TEntityContext class overview.

Properties

Name Description

Connection

Identifies the connection component with which the data context is associated.

Dialect (inherited from TCustomContext)

Indicates the current SQL dialect used by the connection data provider.

Model (inherited from TCustomContext)

Specifies the meta model used by the data context.

ModelName

Identifies the meta model with which the data context is associated.

Options

The class allows setting up the behavior of the TEntityContext class.

Types (inherited from TDataContext)

The property is designed to determine a meta-type by a meta-type name.

Methods

Name Description

Attach (inherited from TCustomEntityContext)

The method is designed for attaching an entity instance to the data context and storing it in the object cache

Cancel (inherited from TCustomEntityContext)

The method is designed to cancel changes made in an entity instance.

Create (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

CreateAttachedEntity (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

CreateAttachedEntity<T> (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

CreateEntity (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

CreateEntity<T> (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

Delete (inherited from TCustomEntityContext)

The method is designed for deleting an entity.

DeleteAndSave (inherited from TCustomEntityContext)

The method is designed for permanent deleting an entity.

ExecuteQuery<T> (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

ExecuteSQL (inherited from TCustomContext)

Overloaded.Description is not available at the moment.

GetEntities (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

GetEntities<T> (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

GetEntity (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

GetEntity<T> (inherited from TCustomEntityContext)

Overloaded.Description is not available at the moment.

IsAttached (inherited from TCustomEntityContext)

The method is designed to check whether the specified entity is attached to the data context.

RejectChanges (inherited from TDataContext)

The method is designed to cancel changes in all attached entities

Save (inherited from TCustomEntityContext)

The method is designed for saving changes made in an entity instance.

SubmitChanges (inherited from TDataContext)

The method is designed for saving changes in all attached entities.

Events

Name Description

OnGetGeneratorValue (inherited from TCustomContext)

Occurs when an entity attribute value generator of type "custom" needs to generate its value.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback